import 'package:play_android/com/zhihaoliang/base/BaseModel.dart';

import 'package:play_android/com/zhihaoliang/play/home/model/banner/BannerItem.dart';

import 'package:json_annotation/json_annotation.dart';

part 'package:play_android/com/zhihaoliang/play/home/model/banner/BannerModel.g.dart';

/// **************************************************************************
/// 首页banner的数据
/// **************************************************************************

@JsonSerializable()
class BannerModel extends BaseModel<List<BannerItem>> {
  BannerModel();

  factory BannerModel.fromJson(Map<String, dynamic> json) =>
      _$BannerModelFromJson(json);

  Map<String, dynamic> toJson() => _$BannerModelToJson(this);
}
